package cn.sail.spring.ioc.service.impl;

import cn.sail.spring.ioc.dao.CatDao;
import cn.sail.spring.ioc.service.CatService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CatServiceImpl implements CatService {

    @Autowired
//    @Qualifier("userDaoImpl")
//    @Resource(type = UserServiceImpl.class, name = "userDaoImpl")
    private CatDao catDao;

    public void eat(String food, String color) {
        System.out.println("eat");
    }
}
